package com.lj.job.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lj.job.enums.ScheduleJobStatus;
import com.lj.mp.standard.entity.SysStandardEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @author luojing
 * @since 2025-03-20 15:23:28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("schedule_job")
public class ScheduleJob extends SysStandardEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 执行bean的名称
     */
    private String beanName;

    /**
     * 执行参数
     */
    private String params;

    /**
     * cron表达式
     */
    private String cronExpression;

    /**
     * 任务状态
     */
    private ScheduleJobStatus status;

    /**
     * 备注
     */
    private String remark;
}
